-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/enable hooks sor #896
base: v3-canary
Are you sure you want to change the base?
Conversation
|
This pr is a WIP to enable hooks in the SOR. There are various assumptions made that need to be verified.
This pr has these tests currently working:
weightedPool.test.ts
stablePool.test.ts
balancer-sor.integration.test.ts
I'll list some points with outstanding questions:
fromPrismaPool
.getHookState()
return if a pool does not have a hook?tokens
part of theHookState
or is this mean to signal which tokens the fee applies to?Currently missing tasks:
getBaseHooksFromDb
in theSorPathService